package cn.s1995.sloth.bizs.oo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import cn.s1995.sloth.common.core.convert.NumberFormatConvert;
import cn.s1995.sloth.bizs.entity.Shop;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class ShopDetailVO extends Shop{

	@JsonSerialize(using = NumberFormatConvert.class)
	@Schema(description = "产品数")
	private long prodCount;

	@JsonSerialize(using = NumberFormatConvert.class)
	@Schema(description = "视频数")
	private long videoCount;

	@JsonSerialize(using = NumberFormatConvert.class)
	@Schema(description = "关注数")
	private long followCount;

	@Schema(description = "是否关注")
	private boolean followFlag;
}
